home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / cpbequ.z / cpbequ
Encoding:
Text File  |  2002-10-03  |  4.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCPPPPBBBBEEEEQQQQUUUU((((3333SSSS))))                                                          CCCCPPPPBBBBEEEEQQQQUUUU((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CPBEQU - compute row and column scalings intended to equilibrate a
  10.      Hermitian positive definite band matrix A and reduce its condition number
  11.      (with respect to the two-norm)
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE CPBEQU( UPLO, N, KD, AB, LDAB, S, SCOND, AMAX, INFO )
  15.  
  16.          CHARACTER      UPLO
  17.  
  18.          INTEGER        INFO, KD, LDAB, N
  19.  
  20.          REAL           AMAX, SCOND
  21.  
  22.          REAL           S( * )
  23.  
  24.          COMPLEX        AB( LDAB, * )
  25.  
  26. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  27.      These routines are part of the SCSL Scientific Library and can be loaded
  28.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  29.      directs the linker to use the multi-processor version of the library.
  30.  
  31.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  32.      4 bytes (32 bits). Another version of SCSL is available in which integers
  33.      are 8 bytes (64 bits).  This version allows the user access to larger
  34.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  35.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  36.      only one of the two versions; 4-byte integer and 8-byte integer library
  37.      calls cannot be mixed.
  38.  
  39. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  40.      CPBEQU computes row and column scalings intended to equilibrate a
  41.      Hermitian positive definite band matrix A and reduce its condition number
  42.      (with respect to the two-norm). S contains the scale factors, S(i) =
  43.      1/sqrt(A(i,i)), chosen so that the scaled matrix B with elements B(i,j) =
  44.      S(i)*A(i,j)*S(j) has ones on the diagonal.  This choice of S puts the
  45.      condition number of B within a factor N of the smallest possible
  46.      condition number over all possible diagonal scalings.
  47.  
  48.  
  49. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  50.      UPLO    (input) CHARACTER*1
  51.              = 'U':  Upper triangular of A is stored;
  52.              = 'L':  Lower triangular of A is stored.
  53.  
  54.      N       (input) INTEGER
  55.              The order of the matrix A.  N >= 0.
  56.  
  57.      KD      (input) INTEGER
  58.              The number of superdiagonals of the matrix A if UPLO = 'U', or
  59.              the number of subdiagonals if UPLO = 'L'.  KD >= 0.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCPPPPBBBBEEEEQQQQUUUU((((3333SSSS))))                                                          CCCCPPPPBBBBEEEEQQQQUUUU((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      AB      (input) COMPLEX array, dimension (LDAB,N)
  75.              The upper or lower triangle of the Hermitian band matrix A,
  76.              stored in the first KD+1 rows of the array.  The j-th column of A
  77.              is stored in the j-th column of the array AB as follows:  if UPLO
  78.              = 'U', AB(kd+1+i-j,j) = A(i,j) for max(1,j-kd)<=i<=j; if UPLO =
  79.              'L', AB(1+i-j,j)    = A(i,j) for j<=i<=min(n,j+kd).
  80.  
  81.      LDAB     (input) INTEGER
  82.               The leading dimension of the array A.  LDAB >= KD+1.
  83.  
  84.      S       (output) REAL array, dimension (N)
  85.              If INFO = 0, S contains the scale factors for A.
  86.  
  87.      SCOND   (output) REAL
  88.              If INFO = 0, S contains the ratio of the smallest S(i) to the
  89.              largest S(i).  If SCOND >= 0.1 and AMAX is neither too large nor
  90.              too small, it is not worth scaling by S.
  91.  
  92.      AMAX    (output) REAL
  93.              Absolute value of largest matrix element.  If AMAX is very close
  94.              to overflow or very close to underflow, the matrix should be
  95.              scaled.
  96.  
  97.      INFO    (output) INTEGER
  98.              = 0:  successful exit
  99.              < 0:  if INFO = -i, the i-th argument had an illegal value.
  100.              > 0:  if INFO = i, the i-th diagonal element is nonpositive.
  101.  
  102. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  103.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  104.  
  105.      This man page is available only online.
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.